package com.yuxinmuyu.sports_management.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuxinmuyu.sports_management.bean.entiy.SportsScore;
import com.yuxinmuyu.sports_management.bean.request.GetSportsScoreInfoRequest;
import com.yuxinmuyu.sports_management.bean.request.GetSportsScoreRequest;
import com.yuxinmuyu.sports_management.bean.request.GetSportsScoreIDRequest;
import com.yuxinmuyu.sports_management.bean.response.GetSportsScoreResponse;

import javax.servlet.http.HttpServletResponse;

public interface SportsScoreService {

    void addSportsScore(GetSportsScoreRequest request);

    void deleteSportsScore(GetSportsScoreIDRequest request);

    void updateSportsScore(SportsScore sportsScore);

    Page<GetSportsScoreResponse> selectSportsScore(GetSportsScoreInfoRequest request);

    void export(GetSportsScoreInfoRequest request, HttpServletResponse response);
}
